package com.vogue.supplymall.cross.domain.prodiver.tools;

/**
 * @aouthor: zhangliang
 * @date: Create in 2017-12-29
 */
public enum OrderEnum {
    /**
     * 排序的key 1：店铺名称 2：经营范围 3：营业执照审核日期
     */
    sname(1, " name "),
    scope(2, " scopeid "),
    opendate(3, " opendate "),
    /**
     * 排序顺序 1：由低到高 asc 2：由高到低 desc
     */
    ASC(1, " ASC "),
    DESC(2, " DESC ");

    private int code;
    private String name;

    OrderEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
